package com.xxdh.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwg
 * @since 2024-10-15
 */

@Data
@TableName("user")
@Accessors(chain = true)
@Builder
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户id
     */
    private String userId;


    /**
     * 0: 学生  1: 老师
     */
    private String type;

    /**
     * 专业
     */
    private String subject;

    /**
     * 宿舍
     */
    private String room;

    /**
     * 身份证号
     */
    private String idNumber;

    /**
     * 班主任名称
     */
    private String teacherName;
}
